package mrh.niubi.librarysystem.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("user")
public class UserBean {

	@TableId
	private String username;
	private Long type;
	private String password;

	public UserBean(String username, Long type, String password) {
		this.username = username;
		this.type = type;
		this.password = password;
	}

    public UserBean() {

    }

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Long getType() {
		return type;
	}
	public void setType(Long type) {
		this.type = type;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "UserBean{" +
				"UserId='" + username + '\'' +
				", type=" + type +
				", password='" + password + '\'' +
				'}';
	}

}
